export interface ListInt {//订单
    id: number,
    nikeName: string,
    userName: string,
    role: RoleInt[],
}
export interface ActiveInt {
    id: number,
    nikeName: string,
    userName: string,
    role: number[],
}
interface RoleInt {
    role: number,
    roleName: string
}

interface SelectDataInt {//代码需要
    nikeName: string,
    role: number,
}

interface RoleListInt {
    roleName:string
    roleId:'number'
    suthorty:number[]//权限
}

export class InitData {
    selectData: SelectDataInt = {
        nikeName: '',
        role: 0,
    }
    list: [ListInt][] = []//二维数组
    roleList:RoleListInt[] = []
    listData:[ListInt][] = []
    active:ActiveInt = {
        id: 0,
        nikeName: "",
        userName: "",
        role: []
    }
    isShow:boolean = false
    username: string = 'username'
    rolename: string = 'role_name'
    input: string = 'input'
}